
<form method="post" id="lb_forward">
	<div id="loadings" class="client cf">
		<div class="tabContent cf" id="tab0" style="width:596px;">
			<div id="thumb0" class="indeximg">
				{if $img_array['is_animate']}
				<img src="{$img}" data-pinit="registered"  width="190" height="190">
            	{else}
				<img src="{getImg $img 190 190}" data-pinit="registered"  width="190" height="190">
            	{/if}
				
				{if $img_array['video']}
							<img src="{$_FANWE['site_root']}tpl/{$_FANWE['setting']['site_tmpl']}/images/play.gif" class='play' style='margin: -112px 0 22px 79px;' />
							<input type='hidden' value='{$img_array['video']}' name='video' id='video'>
				{/if}
			</div>
			<div class="saybox">
				<div class="selectbox gray" style="margin-bottom: 12px; font-size: 14px">转发到</div>
				<div class="selectbox margin">
                    <select id="addBoardList0" style="display:none;">
                    </select>
                    <span class="combox" style="width:372px;">
                        <input class="comboxText" style="width:335px" readonly="readonly" type="text" {if $album['title']}value="{$album['title']}"{else}value="选择杂志社"{/if}>
                        <span class="comboxArrow"></span>
                        <input class="comboxValue" type="hidden" value="">
                        <div id="pannel" class="pannel" style="width: 372px; display: none; ">
                        
                       </div>
                    </span>
           		</div>
           
				<div class="textareabox margin">
					<span class="innerborder">
						<textarea id="addTitle0" name="content" class="PUB_TXT" length="140" position="0" >{$title}</textarea>
						<em class="saynumber">
							<span class="floatright"><em id="cur-wordnum" class="WORD_COUNT">0</em>/140</span>
						</em>
					</span>
				</div>
				<div class="integralbox margin">
					<input name="is_comment_parent" type="checkbox" id="checkbox-1" value="1">
					<label id="reshareDialogCommentTo" for="checkbox-1" class="checkbox gray">{lang also_comment_ge} {$parent_user['user_name']}</label>
				</div>
				<div style="display:none;overflow:hidden;">
					<span class="smstips smserror"><em class="smstips" id="reshareDialogMessage"></em></span>
				</div>
				<div id="reshareCommitButtonDiv" class="submit">
                <div class="right">
					<span class="floatright share">
						<span class="size" id="reshareCommitButtonDiv-1" style=""></span>
                        <span id="reshare_sync_qzone-1" style="">
                        	
                        </span>
					</span>
				</div>
				<a id="btnSaveBoardPic0" class="bigbuttongray bigbutton big-btn calloff" href="javascript:;" onclick="$.Add_Share_Relay(this)">转发</a>
                <input type="hidden" name="albumid" class="PUB_ALBUM_ID" value="{$album_id}"  id="albumid" />
                <input type="hidden" name="old_album_id" id="old_album_id" value="" />
                <input type="hidden" name="img_url" value="{$img}" id="img_url" />
                <input type="hidden" name="share_id" value="{$share_id}" />
                <input type="hidden" name="photo_id" value="1" />
			</div>
		</div>
		</div>
</div>
</form>


<script type="text/javascript">
var ALBUM_SELECT_ID = 0;

jQuery(function($){
	$.Pub_Count_Bind($("#addTitle0").get(0));
});

$("#pannel li").live("mouseover",function(){
	$(this).removeClass("out");
	$(this).addClass("over");	
}).live('mouseout',function(){
	$(this).removeClass("over");
	$(this).addClass("out");	
}).live('click',function(){
	$(".comboxText").val($(this).attr("default"));
	$("#albumid").val($(this).attr("value"));
	$.checkForm();
	$("#pannel").hide();	
});
$(".comboxText").click(function(){
	getAlbumList();
});
$(".comboxArrow").click(function(){
	getAlbumList();
});
function getAlbumList()
{
	var query = new Object();
	query.aid = ALBUM_SELECT_ID;
	

	$.ajax({
		url: SITE_PATH+"services/service.php?m=share&a=selectalbum",
		type: "POST",
		data:query,
		dataType: "json",
		success: function(result){
			$("#pannel").html(result.html);
			$("#pannel").show();
		}
	});
}


</script>
